# 表单用的，实际中不建议新建除urls,py之外的路由文件
# 新建几个视图函数，实现类别的增删改查
from . import cviews
from django.urls import  path

app_name = 'article'
urlpatterns = [
path('list/', cviews.clist, name='list'),
    path('add/', cviews.add, name='add'),
    path('edit/<int:pk>', cviews.edit, name='edit'),
    path('delete/<int:pk>', cviews.delete, name='delete'),
]